Graphic objects and drawing elements > Property Panel > All properties and connections > WriteOnClose
Specifies whether a value will be written out when the Close Display button is pressed. If you select True, the value must be specified in the CloseValue property.
CloseValue